API

Finance APIs

GET finance/accounts-receivable-transactions/{accountsReceivableTransactionsId}

Accounts receivable transaction details for provided identifier

HTTP method GET
URI https://api.rambase.net/finance/accounts-receivable-transactions/{accountsReceivableTransactionsId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {accountsReceivableTransactionsId} Accounts receivable transaction identifier
Integer, minimum 100000
Successful HTTP status code 200
API resource identifier 536, version 9

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<AccountsReceivableTransaction>
2
     <AccountsReceivableTransactionId
AccountsReceivableTransactionId

Accounts receivable transaction identifier

>
{Integer}</AccountsReceivableTransactionId>
3
     <Status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

>
{String}</Status>
4
     <TranslatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

>
{String}</TranslatedDescription>
5
     <Type
Type

Type of transaction

Possible domain values can be found here

>
{String}</Type>
6
     <PaymentDeviationDescription
PaymentDeviationDescription

Payment description of the accounts receivable transaction

>
{String}</PaymentDeviationDescription>
7
     <DueDate
DueDate

Date the object is due to be paid

>
{Date}</DueDate>
8
     <NumberOfInterests
NumberOfInterests

Number of interests for this accounts receivable transaction

This field is greyed out because it is an expandable field. You have to add $expand=NumberOfInterests in your request URI to get this field

>
{Integer}</NumberOfInterests>
9
     <NumberOfDunnings
NumberOfDunnings

Number of reminders for this accounts receivable transaction

This field is greyed out because it is an expandable field. You have to add $expand=NumberOfDunnings in your request URI to get this field

>
{Integer}</NumberOfDunnings>
10
     <Source>
11
          <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
12
          <SellersPaymentReference
SellersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

>
{String}</SellersPaymentReference>
13
          <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
14
          <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
15
          <CustomersReferenceNumber
CustomersReferenceNumber

Customers reference number. E.g. the internal sales order id the customer use in their own system.

>
{String}</CustomersReferenceNumber>
16
          <SellersReferenceNumber
SellersReferenceNumber

Sellers reference number.

>
{String}</SellersReferenceNumber>
17
          <AccountingPeriod>
18
               <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
19
               <Period
Period

Accounting period

>
{Integer}</Period>
20
               <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
21
          </AccountingPeriod>
22
          <ShippingAddress>
23
               <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
24
               <Country
Country

English name of country.

>
{String}</Country>
25
          </ShippingAddress>
26
          <InvoiceAddress>
27
               <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
28
               <Country
Country

English name of country.

>
{String}</Country>
29
          </InvoiceAddress>
30
          <Customer>
31
               <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
32
               <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
33
               <FirstName
FirstName

Secondary name of a company or firstname of a person

>
{String}</FirstName>
34
               <Intercompany>
35
                    <Code
Code

Intercompany database the customer belongs to.

>
{String}</Code>
36
               </Intercompany>
37
               <LegalEntityIdentifier
LegalEntityIdentifier

The customers unique enterprise/organization number.

>
{String}</LegalEntityIdentifier>
38
               <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
39
               <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
40
          </Customer>
41
          <Reference>
42
               <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
43
               <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
44
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
45
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
46
               <ItemType
ItemType

Type of item

>
{String}</ItemType>
47
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
48
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
49
          </Reference>
50
     </Source>
51
     <IntercompanyPaymentItem>
52
          <Database
Database

The internal company code

>
{String}</Database>
53
          <PaymentItemId
PaymentItemId

Item-/line-number of the payment.

>
{Integer}</PaymentItemId>
54
          <Payment>
55
               <PaymentId
PaymentId

Payment identifier

>
{Integer}</PaymentId>
56
               <PaymentLink
PaymentLink

Payment reference

>
{String}</PaymentLink>
57
          </Payment>
58
          <PaymentItemLink
PaymentItemLink

Payment item reference

>
{String}</PaymentItemLink>
59
     </IntercompanyPaymentItem>
60
     <Totals>
61
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
62
          <VATAmount
VATAmount

Total value added tax in object currency.

>
{Decimal}</VATAmount>
63
          <TotalAmount
TotalAmount

Total amount

>
{Decimal}</TotalAmount>
64
     </Totals>
65
     <TotalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
66
          <Currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{String}</Currency>
67
          <ExchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</ExchangeRate>
68
          <VATAmount
VATAmount

Value added tax amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</VATAmount>
69
          <TotalAmount
TotalAmount

Total amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

>
{Decimal}</TotalAmount>
70
     </TotalsConverted>
71
</AccountsReceivableTransaction>
1
{
2
     "accountsReceivableTransaction": {
3
          "accountsReceivableTransactionId
AccountsReceivableTransactionId

Accounts receivable transaction identifier

":
"{Integer}",
4
          "status
Status

Status of the accounts receivable transaction

Possible domain values can be found here

":
"{String}",
5
          "translatedDescription
TranslatedDescription

Description of the accounts receivable transaction.

":
"{String}",
6
          "type
Type

Type of transaction

Possible domain values can be found here

":
"{String}",
7
          "paymentDeviationDescription
PaymentDeviationDescription

Payment description of the accounts receivable transaction

":
"{String}",
8
          "dueDate
DueDate

Date the object is due to be paid

":
"{Date}",
9
          "numberOfInterests
NumberOfInterests

Number of interests for this accounts receivable transaction

This field is greyed out because it is an expandable field. You have to add $expand=NumberOfInterests in your request URI to get this field

":
"{Integer}",
10
          "numberOfDunnings
NumberOfDunnings

Number of reminders for this accounts receivable transaction

This field is greyed out because it is an expandable field. You have to add $expand=NumberOfDunnings in your request URI to get this field

":
"{Integer}",
11
          "source": {
12
               "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
13
               "sellersPaymentReference
SellersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

":
"{String}",
14
               "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
15
               "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
16
               "customersReferenceNumber
CustomersReferenceNumber

Customers reference number. E.g. the internal sales order id the customer use in their own system.

":
"{String}",
17
               "sellersReferenceNumber
SellersReferenceNumber

Sellers reference number.

":
"{String}",
18
               "accountingPeriod": {
19
                    "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
20
                    "period
Period

Accounting period

":
"{Integer}",
21
                    "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
22
               },
23
               "shippingAddress": {
24
                    "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
25
                    "country
Country

English name of country.

":
"{String}"
26
               },
27
               "invoiceAddress": {
28
                    "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
29
                    "country
Country

English name of country.

":
"{String}"
30
               },
31
               "customer": {
32
                    "customerId
CustomerId

Customer identifier

":
"{Integer}",
33
                    "name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

":
"{String}",
34
                    "firstName
FirstName

Secondary name of a company or firstname of a person

":
"{String}",
35
                    "intercompany": {
36
                         "code
Code

Intercompany database the customer belongs to.

":
"{String}"
37
                    },
38
                    "legalEntityIdentifier
LegalEntityIdentifier

The customers unique enterprise/organization number.

":
"{String}",
39
                    "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
40
                    "customerLink
CustomerLink

Customer reference

":
"{String}"
41
               },
42
               "reference": {
43
                    "objectId
ObjectId

Identifier of the object

":
"{Integer}",
44
                    "objectType
ObjectType

Type of object

":
"{String}",
45
                    "objectLink
ObjectLink

API reference to the object

":
"{String}",
46
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
47
                    "itemType
ItemType

Type of item

":
"{String}",
48
                    "itemLink
ItemLink

API reference to the item

":
"{String}",
49
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
50
               }
51
          },
52
          "intercompanyPaymentItem": {
53
               "database
Database

The internal company code

":
"{String}",
54
               "paymentItemId
PaymentItemId

Item-/line-number of the payment.

":
"{Integer}",
55
               "payment": {
56
                    "paymentId
PaymentId

Payment identifier

":
"{Integer}",
57
                    "paymentLink
PaymentLink

Payment reference

":
"{String}"
58
               },
59
               "paymentItemLink
PaymentItemLink

Payment item reference

":
"{String}"
60
          },
61
          "totals": {
62
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
63
               "vATAmount
VATAmount

Total value added tax in object currency.

":
"{Decimal}",
64
               "totalAmount
TotalAmount

Total amount

":
"{Decimal}"
65
          },
66
          "totalsConverted
TotalsConverted

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
{
67
               "currency
Currency

Three character code following the ISO 4217 standard

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{String}",
68
               "exchangeRate
ExchangeRate

The exchange rate used in convertion

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}",
69
               "vATAmount
VATAmount

Value added tax amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}",
70
               "totalAmount
TotalAmount

Total amount in company currency.

This field is greyed out because it is an expandable field. You have to add $expand=TotalsConverted in your request URI to get this field

":
"{Decimal}"
71
          }
72
     }
73
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100209 HTTP 400 Illegal document Id {0}
Error 101086 HTTP 400 Missing required argument {0} for description
Error 101087 HTTP 400 Description argument/result mismatch